.gomoku-game {
  padding: 20px;
  background: #f5f5f5;
  min-height: 100vh;
}
.gomoku-game .game-card {
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.gomoku-game .game-card .ant-card-head {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px 8px 0 0;
}
.gomoku-game .game-card .ant-card-head .ant-card-head-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
}
.gomoku-game .game-card .ant-card-body {
  padding: 24px;
}
.gomoku-game .game-status {
  text-align: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
}
.gomoku-game .board-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gomoku-game .board {
  display: inline-block;
  border: 3px solid #8b4513;
  background: #deb887;
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.gomoku-game .board-row {
  display: flex;
}
.gomoku-game .cell {
  width: 32px;
  height: 32px;
  border: 1px solid #8b4513;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
  transition: all 0.2s ease;
}
.gomoku-game .cell:hover {
  background: rgba(255, 255, 255, 0.3);
}
.gomoku-game .cell.clickable {
  cursor: pointer;
}
.gomoku-game .cell.clickable:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: scale(1.05);
}
.gomoku-game .cell.player {
  background: rgba(0, 255, 0, 0.1);
}
.gomoku-game .cell.ai {
  background: rgba(255, 0, 0, 0.1);
}
.gomoku-game .piece {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: pieceDrop 0.3s ease-out;
}
.gomoku-game .player-piece {
  background: radial-gradient(circle at 30% 30%, #fff, #000);
  border: 2px solid #333;
}
.gomoku-game .ai-piece {
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #cc0000);
  border: 2px solid #990000;
}
@keyframes pieceDrop {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .gomoku-game {
    padding: 10px;
  }
  .gomoku-game .game-card .ant-card-body {
    padding: 16px;
  }
  .gomoku-game .cell {
    width: 24px;
    height: 24px;
  }
  .gomoku-game .piece {
    width: 18px;
    height: 18px;
  }
  .gomoku-game .board-container {
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .gomoku-game .cell {
    width: 20px;
    height: 20px;
  }
  .gomoku-game .piece {
    width: 16px;
    height: 16px;
  }
}
.ant-statistic .ant-statistic-title {
  color: #666;
  font-size: 14px;
  margin-bottom: 4px;
}
.ant-statistic .ant-statistic-content {
  font-size: 20px;
  font-weight: bold;
}
.ant-space .ant-btn {
  border-radius: 6px;
  font-weight: 500;
}
.ant-space .ant-btn.ant-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}
.ant-space .ant-btn.ant-btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.ant-space .ant-btn:not(.ant-btn-primary) {
  border-color: #d9d9d9;
}
.ant-space .ant-btn:not(.ant-btn-primary):hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
